package com.zy.mall.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@ApiModel(value = "响应数据对象", description = "封装返回给前端的数据接口")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ResultVo {
    // 响应状态码
    @ApiModelProperty(value = "响应状态码", dataType = "int")
    private int code;

    // 响应提示信息
    @ApiModelProperty(value = "响应提示信息", dataType = "string")
    private String msg;

    // 响应数据
    @ApiModelProperty(value = "响应数据", dataType = "string")
    private Object Data;
}
